package com.small.admin.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

/**
 * 作者: fenny
 * 邮箱: 893146555@qq.com
 * 时间: 2017/10/17 16:27
 * 描述: 角色用户关联
 */
@Data
@Table(name = "t_role_admin")
public class RoleAdmin {

    @NotNull
    @Column(name = "role_id")
    private Long roleId;

    @NotNull
    @Column(name = "admin_id")
    private Long adminId;

}
